'use client'

import { type HTMLChakraProps, chakra } from '@saas-ui/react'

export const Logo = (props: HTMLChakraProps<'svg'> & { accent?: string }) => {
  const { accent = 'currentColor', ...rest } = props
  return (
    <chakra.svg
      viewBox="0 0 745 144"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      height="5"
      {...rest}
    >
      <path
        d="M47.2595 0.382058C48.5868 0.252792 49.5408 0.0814404 50.4979 0.0784343C69.8656 0.0634034 89.2332 0.132545 108.598 0.000273741C111.848 -0.0207695 112.673 1.16967 112.628 4.17585C112.489 13.2845 112.45 22.3993 112.637 31.508C112.706 34.9741 111.258 35.7436 108.125 35.7256C89.8803 35.6234 71.6383 35.6685 53.3933 35.6805C47.416 35.6835 44.7554 38.347 44.7523 44.2752C44.7493 56.8921 44.6651 69.509 44.8156 82.1229C44.8547 85.4026 43.8434 86.5419 40.4936 86.4968C28.4276 86.3345 16.3525 86.3165 4.28648 86.5059C0.831311 86.56 0.0126625 85.2583 0.0427598 82.0958C0.166159 68.6402 0.169169 55.1815 0.0397506 41.7259C0.00965324 38.6446 0.960729 37.5504 4.11493 37.5924C15.4797 37.7397 26.8505 37.6616 38.2182 37.6405C43.8404 37.6315 47.0066 34.4901 47.0157 28.9707C47.0277 20.9803 47.0066 12.9899 47.0307 4.99954C47.0277 3.49946 47.1722 1.99637 47.2595 0.382058Z"
        fill="currentColor"
      />
      <path
        d="M32.7646 143.918C23.3562 143.918 13.9447 143.767 4.54234 143.996C0.93969 144.083 -0.0444923 142.799 0.0277412 139.39C0.208325 130.558 0.274539 121.714 0.0066732 112.888C-0.110706 109.031 1.3129 108.219 4.87341 108.249C22.8445 108.406 40.8187 108.328 58.7928 108.316C65.1554 108.313 67.9333 105.547 67.9333 99.255C67.9363 86.9116 68.0266 74.5713 67.8701 62.231C67.828 58.9242 68.5353 57.4812 72.2403 57.5443C84.3123 57.7548 96.3904 57.7007 108.465 57.5744C111.514 57.5413 112.673 58.4221 112.64 61.6267C112.495 75.0884 112.495 88.556 112.649 102.018C112.688 105.373 111.556 106.356 108.255 106.304C96.884 106.13 85.5072 106.22 74.1364 106.247C68.755 106.259 65.676 109.398 65.664 114.8C65.649 123.076 65.5376 131.352 65.7122 139.622C65.7814 142.871 64.8122 144.059 61.4143 143.987C51.8644 143.785 42.3145 143.918 32.7646 143.918Z"
        fill="currentColor"
      />
      <path
        d="M717.001 123.904C714.138 123.904 710.974 123.829 707.509 123.678C704.119 123.527 700.804 123.301 697.565 123C694.326 122.774 691.35 122.51 688.638 122.209V109.44C691.425 109.666 694.25 109.892 697.113 110.118C700.051 110.344 702.838 110.532 705.475 110.683C708.112 110.758 710.372 110.796 712.255 110.796C716.097 110.796 719.073 110.645 721.182 110.344C723.291 109.967 724.873 109.44 725.928 108.762C726.757 108.159 727.322 107.519 727.623 106.841C727.924 106.088 728.113 105.221 728.188 104.242C728.263 103.187 728.301 102.02 728.301 100.739C728.301 99.0064 728.188 97.5751 727.962 96.4451C727.811 95.3151 727.51 94.4487 727.058 93.8461C726.606 93.1681 725.853 92.6784 724.798 92.3771C723.819 92.0757 722.538 91.8497 720.956 91.6991L703.554 89.5521C700.089 89.1001 697.226 88.3091 694.966 87.1791C692.781 86.0491 691.049 84.5424 689.768 82.6591C688.487 80.7757 687.583 78.5534 687.056 75.9921C686.604 73.4307 686.378 70.5304 686.378 67.2911C686.378 62.1684 687.094 58.1004 688.525 55.0871C689.956 52.0737 691.953 49.7761 694.514 48.1941C697.151 46.6121 700.239 45.5951 703.78 45.1431C707.321 44.6157 711.163 44.3521 715.306 44.3521C718.319 44.3521 721.408 44.4651 724.572 44.6911C727.736 44.8417 730.712 45.0677 733.499 45.3691C736.286 45.6704 738.622 46.0471 740.505 46.4991V58.9291C738.622 58.6277 736.437 58.3641 733.951 58.1381C731.465 57.9121 728.866 57.7614 726.154 57.6861C723.442 57.5354 720.881 57.4601 718.47 57.4601C714.929 57.4601 712.104 57.6107 709.995 57.9121C707.961 58.1381 706.379 58.5524 705.249 59.1551C703.968 59.9084 703.177 60.8877 702.876 62.0931C702.65 63.2984 702.537 64.8051 702.537 66.6131C702.537 68.8731 702.688 70.6057 702.989 71.8111C703.29 72.9411 704.006 73.7321 705.136 74.1841C706.266 74.6361 708.036 75.0127 710.447 75.3141L727.849 77.3481C729.958 77.5741 731.917 77.9507 733.725 78.4781C735.533 79.0054 737.153 79.8341 738.584 80.9641C740.015 82.0941 741.183 83.6761 742.087 85.7101C742.614 86.7647 743.029 88.0077 743.33 89.4391C743.631 90.7951 743.857 92.3394 744.008 94.0721C744.234 95.8047 744.347 97.7257 744.347 99.8351C744.347 104.204 743.895 107.858 742.991 110.796C742.162 113.734 740.957 116.069 739.375 117.802C737.793 119.535 735.834 120.853 733.499 121.757C731.239 122.661 728.715 123.226 725.928 123.452C723.141 123.753 720.165 123.904 717.001 123.904Z"
        fill="currentColor"
      />
      <path
        d="M639.52 123V110.683C643.512 110.608 646.601 110.419 648.786 110.118C650.97 109.741 652.515 109.026 653.419 107.971C654.398 106.916 655.001 105.259 655.227 102.999C655.453 100.664 655.566 97.5373 655.566 93.62V45.256H671.612V89.326C671.612 95.8047 671.461 101.153 671.16 105.372C670.858 109.515 670.18 112.792 669.126 115.203C668.071 117.614 666.376 119.384 664.041 120.514C661.781 121.569 658.654 122.247 654.662 122.548C650.744 122.849 645.697 123 639.52 123Z"
        fill="currentColor"
      />
      <path d="M594.581 123V96.8H623.581V123H594.581Z" fill="currentColor" />
      <path
        d="M533.576 124.6C529.443 124.6 524.976 124.467 520.176 124.2C515.51 123.933 510.91 123.6 506.376 123.2C501.843 122.8 497.71 122.333 493.976 121.8V101.8C495.976 101.933 498.31 102.133 500.976 102.4C503.776 102.533 506.776 102.667 509.976 102.8C513.176 102.933 516.31 103.067 519.376 103.2C522.443 103.333 525.31 103.4 527.976 103.4C534.11 103.4 538.51 103.133 541.176 102.6C543.976 101.933 545.776 100.867 546.576 99.4C547.376 97.8 547.776 95.7334 547.776 93.2C547.776 90.5334 547.51 88.6 546.976 87.4C546.443 86.0667 545.443 85.2 543.976 84.8C542.51 84.4 540.11 84 536.776 83.6L512.976 80.6C506.71 79.8 501.976 78.1333 498.776 75.6C495.71 73.0667 493.576 69.6667 492.376 65.4C491.31 61.1333 490.776 56.0667 490.776 50.2C490.776 43.2667 491.776 37.8 493.776 33.8C495.91 29.6667 498.776 26.6 502.376 24.6C506.11 22.4667 510.51 21.0667 515.576 20.4C520.776 19.7334 526.376 19.4 532.376 19.4C536.376 19.4 540.51 19.5334 544.776 19.8C549.043 20.0667 553.11 20.4667 556.976 21C560.976 21.4 564.31 21.9333 566.976 22.6V42.4C563.91 42 560.51 41.7334 556.776 41.6C553.043 41.3334 549.376 41.1334 545.776 41C542.176 40.7334 538.976 40.6 536.176 40.6C531.11 40.6 527.043 40.8 523.976 41.2C521.043 41.4667 518.976 42.2667 517.776 43.6C516.576 44.9333 515.976 47.1334 515.976 50.2C515.976 52.6 516.176 54.4667 516.576 55.8C516.976 57 517.843 57.8667 519.176 58.4C520.51 58.8 522.643 59.2 525.576 59.6L551.376 62.8C556.043 63.3333 559.976 64.4 563.176 66C566.376 67.6 568.71 70.4 570.176 74.4C571.776 78.4 572.576 84.4667 572.576 92.6C572.576 99.6667 571.71 105.333 569.976 109.6C568.243 113.733 565.576 116.933 561.976 119.2C558.51 121.333 554.376 122.733 549.576 123.4C544.91 124.2 539.576 124.6 533.576 124.6Z"
        fill="currentColor"
      />
      <path
        d="M408.09 124.6C401.557 124.6 396.024 123.667 391.49 121.8C386.957 119.8 383.49 116.6 381.09 112.2C378.824 107.667 377.69 101.733 377.69 94.4C377.69 86.5333 378.624 80.3334 380.49 75.8C382.357 71.1334 385.624 67.8 390.29 65.8C394.957 63.6667 401.424 62.6 409.69 62.6C411.024 62.6 412.89 62.6667 415.29 62.8C417.69 62.8 420.424 62.8667 423.49 63C426.557 63 429.624 63.0667 432.69 63.2C435.757 63.2 438.557 63.2667 441.09 63.4V59.4C441.09 55 440.757 51.5334 440.09 49C439.424 46.4667 438.157 44.6 436.29 43.4C434.424 42.2 431.69 41.4667 428.09 41.2C424.49 40.9334 419.824 40.8 414.09 40.8C411.157 40.8 407.757 40.8667 403.89 41C400.024 41.1334 396.29 41.3334 392.69 41.6C389.09 41.8667 386.224 42.1333 384.09 42.4V22.4C389.824 21.4667 396.024 20.7333 402.69 20.2C409.357 19.6667 416.09 19.4 422.89 19.4C430.89 19.4 437.557 19.9334 442.89 21C448.357 21.9334 452.69 23.4667 455.89 25.6C459.224 27.7333 461.69 30.4667 463.29 33.8C465.024 37 466.157 40.8667 466.69 45.4C467.224 49.8 467.49 54.8667 467.49 60.6V123H442.89L442.09 110.6H440.49C438.224 114.733 435.224 117.8 431.49 119.8C427.89 121.8 424.024 123.067 419.89 123.6C415.89 124.267 411.957 124.6 408.09 124.6ZM420.69 104.2C423.624 104.2 426.157 104 428.29 103.6C430.557 103.2 432.49 102.533 434.09 101.6C435.824 100.533 437.157 99.2 438.09 97.6C439.024 95.8667 439.757 93.7334 440.29 91.2C440.824 88.6667 441.09 85.6 441.09 82V79H416.89C413.157 79 410.29 79.2667 408.29 79.8C406.29 80.3334 404.957 81.5334 404.29 83.4C403.624 85.2667 403.29 88.0667 403.29 91.8C403.29 95.2667 403.69 97.9334 404.49 99.8C405.29 101.533 406.957 102.733 409.49 103.4C412.024 103.933 415.757 104.2 420.69 104.2Z"
        fill="currentColor"
      />
      <path
        d="M295.004 124.6C288.471 124.6 282.938 123.667 278.404 121.8C273.871 119.8 270.404 116.6 268.004 112.2C265.738 107.667 264.604 101.733 264.604 94.4C264.604 86.5333 265.538 80.3334 267.404 75.8C269.271 71.1334 272.538 67.8 277.204 65.8C281.871 63.6667 288.338 62.6 296.604 62.6C297.938 62.6 299.804 62.6667 302.204 62.8C304.604 62.8 307.338 62.8667 310.404 63C313.471 63 316.538 63.0667 319.604 63.2C322.671 63.2 325.471 63.2667 328.005 63.4V59.4C328.005 55 327.671 51.5334 327.004 49C326.338 46.4667 325.071 44.6 323.204 43.4C321.338 42.2 318.604 41.4667 315.004 41.2C311.404 40.9334 306.738 40.8 301.004 40.8C298.071 40.8 294.671 40.8667 290.804 41C286.938 41.1334 283.204 41.3334 279.604 41.6C276.004 41.8667 273.138 42.1333 271.004 42.4V22.4C276.738 21.4667 282.938 20.7333 289.604 20.2C296.271 19.6667 303.004 19.4 309.804 19.4C317.804 19.4 324.471 19.9334 329.804 21C335.271 21.9334 339.604 23.4667 342.804 25.6C346.138 27.7333 348.604 30.4667 350.204 33.8C351.938 37 353.071 40.8667 353.604 45.4C354.138 49.8 354.404 54.8667 354.404 60.6V123H329.804L329.005 110.6H327.404C325.138 114.733 322.138 117.8 318.404 119.8C314.804 121.8 310.938 123.067 306.804 123.6C302.804 124.267 298.871 124.6 295.004 124.6ZM307.604 104.2C310.538 104.2 313.071 104 315.204 103.6C317.471 103.2 319.404 102.533 321.004 101.6C322.738 100.533 324.071 99.2 325.004 97.6C325.938 95.8667 326.671 93.7334 327.204 91.2C327.738 88.6667 328.005 85.6 328.005 82V79H303.804C300.071 79 297.204 79.2667 295.204 79.8C293.204 80.3334 291.871 81.5334 291.204 83.4C290.538 85.2667 290.204 88.0667 290.204 91.8C290.204 95.2667 290.604 97.9334 291.404 99.8C292.204 101.533 293.871 102.733 296.404 103.4C298.938 103.933 302.671 104.2 307.604 104.2Z"
        fill="currentColor"
      />
      <path
        d="M207.6 124.6C203.466 124.6 199 124.467 194.2 124.2C189.533 123.933 184.933 123.6 180.4 123.2C175.866 122.8 171.733 122.333 168 121.8V101.8C170 101.933 172.333 102.133 175 102.4C177.8 102.533 180.8 102.667 184 102.8C187.2 102.933 190.333 103.067 193.4 103.2C196.466 103.333 199.333 103.4 202 103.4C208.133 103.4 212.533 103.133 215.2 102.6C218 101.933 219.8 100.867 220.6 99.4C221.4 97.8 221.8 95.7334 221.8 93.2C221.8 90.5334 221.533 88.6 221 87.4C220.466 86.0667 219.466 85.2 218 84.8C216.533 84.4 214.133 84 210.8 83.6L187 80.6C180.733 79.8 176 78.1333 172.8 75.6C169.733 73.0667 167.6 69.6667 166.4 65.4C165.333 61.1333 164.8 56.0667 164.8 50.2C164.8 43.2667 165.8 37.8 167.8 33.8C169.933 29.6667 172.8 26.6 176.4 24.6C180.133 22.4667 184.533 21.0667 189.6 20.4C194.8 19.7334 200.4 19.4 206.4 19.4C210.4 19.4 214.533 19.5334 218.8 19.8C223.066 20.0667 227.133 20.4667 231 21C235 21.4 238.333 21.9333 241 22.6V42.4C237.933 42 234.533 41.7334 230.8 41.6C227.066 41.3334 223.4 41.1334 219.8 41C216.2 40.7334 213 40.6 210.2 40.6C205.133 40.6 201.066 40.8 198 41.2C195.066 41.4667 193 42.2667 191.8 43.6C190.6 44.9333 190 47.1334 190 50.2C190 52.6 190.2 54.4667 190.6 55.8C191 57 191.866 57.8667 193.2 58.4C194.533 58.8 196.666 59.2 199.6 59.6L225.4 62.8C230.066 63.3333 234 64.4 237.2 66C240.4 67.6 242.733 70.4 244.2 74.4C245.8 78.4 246.6 84.4667 246.6 92.6C246.6 99.6667 245.733 105.333 244 109.6C242.266 113.733 239.6 116.933 236 119.2C232.533 121.333 228.4 122.733 223.6 123.4C218.933 124.2 213.6 124.6 207.6 124.6Z"
        fill="currentColor"
      />
    </chakra.svg>
  )
}
